<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <title>Examat</title>
        <style type="text/css">
            .texto 
            {
                width: 300px;
                display: block;
                background-color: #009966;
            }
            .mensaje
            {
                color: #ff0000;
                font-weight: bold;
            }
        </style>
    </h:head>
    <h:body>
    <h:form id="frmLogin">
        <h1>Examat</h1>
        
        <span class="texto">Clave &Uacute;nica (sin ceros): </span>
        <h:inputText id="txtClaveUnica" value="#{loginController.claveUnica}" />
        <br />
        <span class="texto">Passsword: </span>
        <h:inputSecret id="txtPassword" value="#{loginController.password}" />
        <br />
        <h:commandButton id="btnEntrar" value="Entrar" action="#{loginController.checkLogin}" />
        <br />
        <span class="mensaje">#{loginController.mensaje}</span>
    </h:form>
    </h:body>
</html>

